package com.wlkj.action.index;

import com.jfinal.core.Controller;
import com.jfinal.kit.HttpKit;
import com.wlkj.config.UrlKit;

public class IndexAction extends Controller {

	public void sign() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.sign, param);
		renderJson(result);
	}

	public void getSign() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getSign, param);
		renderJson(result);
	}

	public void getNewsPageList() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getNewsPageList, param);
		renderJson(result);
	}

	public void getNewsDetail() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getNewsDetail, param);
		renderJson(result);
	}

	public void getNewsTurns() {
		String param = HttpKit.readData(this.getRequest());
		String result = HttpKit.post(UrlKit.getNewsTurns, param);
		renderJson(result);
	}

}
